package com.cloud.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: TongRui乀
 * @Date: 2019/10/25 14:38
 * @description：
 */
@RestController
public class WebController {

    @Value("${profile}")
    private String activedProfile;

    @GetMapping("profile")
    public String getProfile(){
        return activedProfile;
    }

}
